package cn.yeziji.forum.converter;

import cn.yeziji.forum.entity.ForumSpecialColumnEntity;
import cn.yeziji.forum.vo.special.SpecialVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签类转换器
 *
 * @author gzkemays
 * @date 2022/5/25
 */
@Mapper
public interface SpecialConverter {
  SpecialConverter INSTANCE = Mappers.getMapper(SpecialConverter.class);

  SpecialVO entityConvertToVo(ForumSpecialColumnEntity entity);

  List<SpecialVO> entitiesConvertToVos(List<ForumSpecialColumnEntity> entities);
}
